package com.dabaozhan.modules.wx_app.entity;

import java.math.BigDecimal;

import javax.validation.constraints.NotEmpty;

import com.dabaozhan.modules.wx_app.base.AbstractBaseEntity;

/**
 * 供应商用户实体
 */
public class SupplierUserEntity extends AbstractBaseEntity{

	private static final long serialVersionUID = 1L;
	/**
	 * 用户id
	 */
	private String userId;
	/**
	 * 手机号
	 */
	@NotEmpty(message="phone不能为空")
	private String phone;
	/**
	 * 姓名
	 */
	@NotEmpty(message="name不能为空")
	private String name;
	/**
	 * 打包站id
	 */
	@NotEmpty(message="packerId不能为空")
	private String packerId;
	/**
	 * 车牌号
	 */
	private String plateNumber;
	/**
	 * 卡号
	 */
	private String cardNumber;
	/**
	 * 身份证号
	 */
	private String idNumber;
	/**
	 * 银行卡号
	 */
	private String bankNumber;
	
	/**
	 * 所有订单总价格 (计算而得)
	 */
	private BigDecimal allOrderPrice;
	
	/**
	 * 所有订单总净重 (计算而得)
	 */
	private BigDecimal allOrderNetWeigth;
	
	//扫码添加供应商 1:已存在此供应商,返回供应商信息 2:不存在此供应商,添加供应商并返回信息
	private Integer sweepType;
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPackerId() {
		return packerId;
	}
	public void setPackerId(String packerId) {
		this.packerId = packerId;
	}
	public String getPlateNumber() {
		return plateNumber;
	}
	public void setPlateNumber(String plateNumber) {
		this.plateNumber = plateNumber;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public String getIdNumber() {
		return idNumber;
	}
	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}
	public String getBankNumber() {
		return bankNumber;
	}
	public void setBankNumber(String bankNumber) {
		this.bankNumber = bankNumber;
	}
	public BigDecimal getAllOrderPrice() {
		return allOrderPrice;
	}
	public void setAllOrderPrice(BigDecimal allOrderPrice) {
		this.allOrderPrice = allOrderPrice;
	}
	public BigDecimal getAllOrderNetWeigth() {
		return allOrderNetWeigth;
	}
	public void setAllOrderNetWeigth(BigDecimal allOrderNetWeigth) {
		this.allOrderNetWeigth = allOrderNetWeigth;
	}
	public Integer getSweepType() {
		return sweepType;
	}
	public void setSweepType(Integer sweepType) {
		this.sweepType = sweepType;
	}
}
